/*
Theme Name: Metapami
Theme URI: http://ndqy.com
Version: ndqy 1.1
Author: gaogang
Author URI: http://ndqy.com
Description: Free Wordpress theme by <a href="http://www.simplewpthemes.com/" target="_blank">SimpleWPThemes.com</a>.由 ndqy.com 翻译和改编，在主题的应用中如果有需要帮助的时候可以访问<a href="http://ndqy.com/" target="_blank">ndqy.com</a> 网站参看教程或搜索主题名称，找到主题发布页面给我们留言。请保留页脚创作、发布和改编者的链接，谢谢。
*/
@import url("css/comments.css");
@import url("css/reset.css");
@import url("css/slide.css");
@import url("css/featuredcats.css");
@import url("css/featuredcontent.css");
@import url("css/scroll.css");
* {
  margin: 0;
  padding: 0;
}
/***************LINKS*************************/

a:link, a:visited {
  color: #c33404;
  text-decoration: none;
}
a:hover {
  color: #dbdbdb;
}
p{
text-indent: 2em;
}
#sidebar li ul li{
	text-indent: 1em;
}
/***************END LINKS*************************/

html body {
  background: #1a1b19 url(images/bg.jpg) repeat-x scroll top;
  font-size: 12px;
  font-family: Arial, sans-serif;
  line-height: 1.5em;
  color: #8b8b8b;
  padding: 4px 0 30px;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
@font-face {
    font-family: 'DroidSansRegular';
    src: url('fonts/DroidSans-webfont.eot');
    src: url('fonts/DroidSans-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/DroidSans-webfont.woff') format('woff'),
         url('fonts/DroidSans-webfont.ttf') format('truetype'),
         url('fonts/DroidSans-webfont.svg#DroidSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/***************LAYOUT*************************/

#mainwrap {
  margin: 0 auto 0px;
  width: 960px;
  background: url(images/main.gif) repeat-y;
  overflow: hidden;
}
#header {
  clear: both;
  margin: 0 auto;
  width: 960px;
  height: 100px;
  padding-top: 42px;
}
#blogtitle {
  text-transform: uppercase;
  float: left;
  padding-top: 10px;
}
.description {
  color: #777676;
  font-size: 10px;
}
.adv {
  float: right;
  margin: 0px 0px 0 0;
}

/* -------- START PAGE MENU -------- */
#topwrap {
  width: 100%;
  height: 54px;
  border-bottom: 4px solid #3b3d3a;
  background: #000000;
}
#top {
  width: 960px;
  height: 40px;
  margin: 0 auto;
	position: relative;
	z-index: 9999999;
}
#top ul.sf-menu {
	float: left;
	position: absolute;
}
#top li {
	width: 100px;
	float: left;
	line-height: 54px;
	text-indent: 2em;
}
#top li a {
  float: left;
  display: block;
  color: #6a6a6a;
  font-size: 12px;
  text-transform: uppercase;
}
#top li.current_page_item a, #top li a:hover,#top li.current-menu-item a,#top li.current-menu-parent a{
	width: 100%;
  background: #1a1b19;
  border-bottom: 4px solid #b42d00;
  color: #fff;
}

#top li ul {
	width: 120px;
	margin-top: 5px;
}
#top ul ul ul {
  margin: -19px 0 0 120px;
}
#top li li {
	width: 120px;
	height: 38px;
	background-color: #999999;
	line-height: 38px;
}
#top li ul a {
	text-transform: none;
}

#top li li:hover a, #top li li:hover {
  color: #ff893f;
	width: 120px;
	height: 38px;
}
/* -------- END PAGE MENU -------- */

#s {
  width: 219px;
  height: 15px;
  padding: 10px 0 9px 5px;
  margin-bottom: 5px;
  margin-right: -4px;
  color: #777676;
  font-size: 11px;
  background: url(images/search.png) no-repeat;
  border:0;
}
#contentwrap {
  float: left;
  width: 644px;
}
#sidebar {
  float: right;
  width: 316px;
  padding-top: 35px;
}
#sidebar2 {
  width: 910px;
  margin: 0px auto 0;
  padding: 35px 25px 0;
  overflow: hidden;
  background: #000000;
}
#footer1, #footer2, #footer3 {
  width: 200px;
  float: left;
  margin-right: 36px;
}
#footer4 {
  margin-right: 0;
  float: left;
  width: 200px;
}
#sidebar2 h3 {
  color: #a09d9d;
  font-size: 15px;
  margin-bottom: 30px;
  font-weight: normal;
  font-family: 'DroidSansRegular';
}
.widget {
  margin-bottom: 55px;
  overflow: hidden;
  font-size: 12px;
  color: #535353;
  line-height: 22px;
}
.widget a, .widget a:visited {
  color: #535353;
}
.widget a:hover {
  color: #9c3006;
  text-decoration: underline;
}
.widget ul li {
  padding: 5px 0 5px 0px;
  margin-left: 0;
}
.widget ul.children {
  margin: 5px 0 -5px 0;
}
/* -------- ADVERT -------- */

.add1 {
  clear: both;
  float: left;
  margin: 0 0  10px 5px;
  display: inline;
}
.add2 {
  float: right;
  margin: 0 5px 10px 0;
  display: inline;
}

/* -------- END ADVERT -------- */

.custom_images img {
  margin: 0px 5px 0px 0px;
  padding: 0;
}
#footer {
  width: 910px;
  clear: both;
  padding: 12px 25px 0;
  height: 40px;
  overflow: hidden;
  background: #202020;
  color: #3a3a3a;
  text-shadow: 1px 0 1px #000000;
  font-size: 11px;
}
.FriendLinks{
	text-align: left;
	width: 910px;
	margin-top: 10px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
	clear: both;
}
.Friendtitle{
	float: left;
	margin-right: 20px;
	font-size: 14px;
}
.FriendLinks .content li {
	margin-top: 10px;
	line-height: 15px;
	float: left;
	width: 100px;
	margin-bottom: 10px;
	list-style-type: none;
}
.FriendLinks .content li a{
font-size:12px;
color: #999999;
}
.alignleft .foota{
	float: left;
}
.alignleft .footb{
	float: left;
}
#footer a, #footer a:visited {
  color: #3a3a3a;
  text-shadow: 1px 0 1px #000000;
}
#footer a:hover {
  color: #C33404;
  text-decoration: underline;
}
.inside {
  padding: 35px 19px 20px 26px;
}
/* -------- END WP LAYOUT -------- */

/* -------- START WP STYLES -------- */

#sidebar h3 {
  padding: 0 0 10px 0;
  font-size: 16px;
  color: #8a8a8a;
  font-family: 'DroidSansRegular';
}
.side-widget {
  clear: both;
  width: 280px;
  padding: 0 18px;
  margin-bottom: 30px;
  overflow: hidden;
}
#sidebar ul {
  margin-top: -5px;
}
#sidebar ul.children {
  margin: 7px 0 -7px 0;
}
#sidebar ul li {
  padding: 7px 0 7px 0;
  margin-left: 0;
  background: url(images/sep.gif) repeat-x scroll center bottom;
}
#sidebar li li {
  background-position: top;
}
.side-widget a, .side-widget a:visited {
  color: #8A8A8A;
}
.side-widget a:hover {
  color: #ccc;
}

/***************POST STYLES*************************/
h2.title {
  margin-bottom: 22px;
  line-height: 20px;
  font-size: 17px;
}
h2.titles {
  margin-bottom: 22px;
  line-height: 22px;
  font-size: 20px;
}
h2.title a, h2.title a:visited, h2.titles a, h2.titles a:visited {
  color: #dbdbdb;
}
.meta {
  text-align: right;
  display: block;
  width: 100%;
  clear: both;
}
.tags {
  float: left;
  width: 490px;
  text-align: left;
}
.tags a, .tags a:visited {
  border: 1px solid #3d1100;
  background: url(images/tags.jpg) repeat-x;
  border-radius: 10px;
  display: inline-block;
  padding: 1px 13px 0;
  height: 20px;
  color: #fff;
  text-shadow: 1px 0 1px #000;
  text-transform: lowercase;
  margin-right: 5px;
}
.postmetadata {
  margin-top: 15px;
}
.post, .page {
  margin-bottom: 25px;
  padding-bottom: 22px;
  background: url(images/sep.gif) repeat-x scroll bottom;
}
.entry {
  margin-top: 0px;
  line-height: 23px;
}
.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {
  margin-top: 15px;
}
.entry h2 {
  margin-bottom: 0.4em;
}
.entry p {
  margin-bottom: 15px;
}
.entry img, .post_thumbnail {
  padding: 4px;
  border: 1px solid #181818;
  background: #575757;
}
.post_thumbnail {
  margin: 2px 20px 10px 0 !important;
}
.entry th {
  padding: 0;
  margin-right: 2px;
}
.entry li {
  list-style: circle inside;
}
.entry ol li {
  list-style: decimal inside;
}
blockquote {
  border-left: 10px solid #666666;
  margin-left: 20px;
}
blockquote p {
  padding: 10px;
}
.alignleft {
  float: left;
  margin: 5px 10px 0px 0px;
}
.alignright {
  float: right;
  margin: 5px 0px 0px 10px;
}
img.aligncenter {
  display: block;
  margin: 0 auto 5px;
}
/***************END POST STYLES*************************/
table#wp-calendar {
  width: 100%;
}
#wp-calendar caption {
  background: #C33404;
  color: #fff;
  margin-bottom: 10px;
}
#wp-calendar th {
font-style: normal;
text-transform: capitalize;
}
#wp-calendar th {
font-style: normal;
text-transform: capitalize;
}
#wp-calendar td {
letter-spacing: normal;
padding: 2px 0;
text-align: center;
}
#wp-calendar {
empty-cells: show;
font-size: 14px;
margin: 0;
width: 90%;
}
#wp-calendar a:hover {
  background: #C33404;
  color: #fff;
}
#wp-calendar td:hover, #wp-calendar #today {
  background: #C33404;
  color: #fff;
}
li.pagenav, li.categories, li.linkcat {
  list-style:none;
}
h2.pagetitle {
  margin: 0 0 35px 0px;
  font-size: 32px;
  text-align: center;
  color: #8A8A8A;
  font-family: 'DroidSansRegular';
}
p.center {
  margin: 10px 0;
}
/* -------- END WP STYLES -------- */



/* -------- TABLES -------- */
#contentwrap table{font-size:1.2em;margin:5px 0 25px 1px;}
#contentwrap table td{padding:8px;border: 1px solid #ccc;}
/* -------- END TABLES -------- */


/* -------- PAGE NAVIGATION -------- */

.navigation {
  margin-bottom: 20px;
  overflow: hidden;
}
.navi a, .navi a:visited {
  width: 92px;
  height: 26px;
  padding-top: 6px;
  text-align: center;
  display: inline-block;
  color: #fff;
  text-shadow: 1px 0 1px #000000;
  background: url(images/older.png) no-repeat;
  font-size: 11px;
  text-transform: lowercase;
  margin-right: 5px;
}
/* -------- END PAGE NAVIGATION -------- */

/* -------- SUBSCRIPTION -------- */
ul#topsoc {
  margin-top: 20px;
  float: right;
}
ul#topsoc li {
  line-height: 40px !important;
}
#topsoc a {
  padding: 0 5px !important;
}
#topsoc a:hover {
  border-bottom: 0 !important;
}


/* -------- END SUBSCRIPTION -------- */
#twitter_update_list a, #twitter_update_list a:visited {
  color: #9c3006 !important;
}
#twitter_update_list span {
  float: left;
}
#twitter_update_list a {
  clear: both;
}
.flickr_badge_image { float: left; margin-bottom: 12px; }
.flickr_badge_image img { width: 45px; height: 45px; padding: 4px; margin: 5px 12px 0px 0; border: 1px solid #181818;  float: left; background: #575757; }
#flickr_badge_image3 img, #flickr_badge_image6 img, #flickr_badge_image9, #flickr_badge_image12 {
  margin-right: 0;
}